package returnDataStruct;

import pojo.user;

public class userData {
    private String userName;
    private Long studentId;
    private String userProfile;
    public userData(user u){
        setUserName(u.getName());
        setStudentId(Long.parseLong(u.getStudent_id()));
        setUserProfile(u.getPhotourl());
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getUserProfile() {
        return userProfile;
    }

    public void setUserProfile(String userProfile) {
        this.userProfile = userProfile;
    }
}
